package com.vca.admin.service.Impl;

import com.vca.admin.service.IndexService;
import com.vca.common.request.GiveAwayToUserRequest;
import com.vca.service.service.VcaOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chenbing
 * @date 2022/11/24   13:17
 */
@Service
public class IndexServiceImpl implements IndexService {

    @Autowired
    private VcaOrderService vcaOrderService;

    /**
     * @Description:赠送课程/讲座/展览
     * @Author: chenBing
     * @Date: 2022/11/24
     */
    @Override
    public boolean send(GiveAwayToUserRequest request) {
        switch (request.getType()){
            // TODO: 2022/11/24 课程
            case 0:
                break;
            // TODO: 2022/11/24 讲座
            case 1:
                break;
            // TODO: 2022/11/24 展览
            case 2:
                break;
            default:
                break;
        }
        return false;
    }
}
